package com.zzw.springcloud.mapper;

import com.zzw.springcloud.bean.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MemberMapper {
    Member selectById(Integer id);

    /**
     * Inserts a new Member record into the database.
     *
     * @param member the Member object to be inserted
     * @return the number of rows affected
     */
    int insert(@Param("member") Member member);
}
